package com.haven123.cloudapp.websocket.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "hall",fallback = UserServiceFallback.class)
public interface UserService {
    @RequestMapping("/hello")
    String hello(@RequestParam("name") String name);
}
